tools/libxc: rename pfn_to_mfn to xc_pfn_to_mfn
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 18 Jun 2014 12:57:58 +0000 (13:57 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 18 Jun 2014 15:22:49 +0000 (16:22 +0100)
commiteba7e67bc43894333fcdb492b86e0fbf688f7e72
tree278b372ac870721e49283530963d68e12106c62f
parentd56f1994b0241ac912796e8fb39ca20ba9ee8a12
tools/libxc: rename pfn_to_mfn to xc_pfn_to_mfn

Also refactor the contents of xc_pfn_to_mfn().  It is functionally identical,
but contains less lisp, fewer magic numbers, and more description of why 32bit
guests are treated differently.

Note that this does not affect pfn_to_mfn() in xc_domain_save.c  That was
already a macro which aliased pfn_to_mfn() in xg_private.h but without
actually using it.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_domain.c
tools/libxc/xc_offline_page.c
tools/libxc/xg_private.h